# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)
puts 'SETTING UP DEFAULT USER LOGIN'

User.create([
  { :username => 'admin', :email => 'admin@china-east.net', :password => 'yunmao@china@east', :password_confirmation => 'yunmao@china@east', :admin => true }, 
  { :username => 'user1', :email => 'user1@example.com', :password => '123456', :password_confirmation => '123456' }
], :without_protection => true) 

